import Request from './axios-request'

class bjAxios {
  public axios: Request

  constructor() {
    this.axios = new Request({ url: import.meta.env.VITE_API_BJ_URL_API })
  }

  public post(url: string, data?: object) {
    return this.axios.post(url, data)
  }

  public get(url: string, data?: object) {
    return this.axios.get(url, data)
  }
}
export default new bjAxios()
